package net.qhzw.admin.controller;


import net.qhzw.admin.query.PersonnelLogQuery;
import net.qhzw.admin.service.PersonnelLogService;
import net.qhzw.common.model.JsonResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/***
 * 变更记录前端控制器
 */

@RestController
@RequestMapping("sys/personnelLog")
public class PersonnelLogController {

    @Autowired
    private PersonnelLogService personnelLogService;


    /***
     * 获取资料变更列表
     * @return
     */
    @PostMapping
    public JsonResult personnelLogList(@RequestBody PersonnelLogQuery query){
        return personnelLogService.personnelLogList(query);
    }


}
